package cn.iocoder.yudao.module.shop.convert.storerecord;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.storerecord.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.storerecord.ShopStoreRecordDO;

/**
 * 库存消耗记录 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopStoreRecordConvert {

    ShopStoreRecordConvert INSTANCE = Mappers.getMapper(ShopStoreRecordConvert.class);

    ShopStoreRecordDO convert(ShopStoreRecordCreateReqVO bean);

    ShopStoreRecordDO convert(ShopStoreRecordUpdateReqVO bean);

    ShopStoreRecordRespVO convert(ShopStoreRecordDO bean);

    List<ShopStoreRecordRespVO> convertList(List<ShopStoreRecordDO> list);

    PageResult<ShopStoreRecordRespVO> convertPage(PageResult<ShopStoreRecordDO> page);

    List<ShopStoreRecordExcelVO> convertList02(List<ShopStoreRecordDO> list);

}
